<extend name="Public/base"/>
<block name="content">
    <div class="row-fluid">
        <div class="navbar navbar-inner block-header">
            <div class="muted pull-left">科技申请列表</div>
        </div>
        <div class="block-content collapse in">
            <div class="table-toolbar">
                <p>
                    <a href="{:U('Task/step1',array('status'=>'1'))}" class="btn btn-success">无效任务</a>
                    <a href="{:U('Task/step1',array('status'=>'2'))}" class="btn btn-success">驳回任务</a>
                   <!--  <a href="{:U('Task/step1',array('status'=>'3'))}" class="btn btn-success">结束任务</a> -->
                </p>
            </div>
            <div class="span12" style="margin-left:0;">

                <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered" id="example">
                    <thead>
                    <tr>
                        <th>任务标题</th>
                        <th>委托人姓名</th>
                        <th>委托单位</th>
                        <th>委托时间</th>
                        <th>委托附件</th>
                        <th>任务状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="list" id="vo" empty="对不起，暂时没有查询到您所查询的数据">
                        <tr class="odd gradeX">
                            <td>{$vo['xmmc']}</td>
                            <td>{$vo['wtrname']}</td>
                            <td>{$vo['wtdw']}</td>
                            <td>{$vo['intime']}</td>
                            <td>{$vo['sqfj']|get_Flie_links}</td>
                            <td>{$process_arr[$vo['process_id']]['title']}</td>
                            <td class="center">
								<div class="more-wrapper">
									<span class="more"></span>
									<div style="display: none;" class="pulldown action-list">
										<div class="content">
											<foreach name="vo.menu_conf" item="vo_menu" >
												<span class="li">
												<if condition="$menu_conf[$vo_menu]['control_type'] eq 'tj'">
												<a title="{$menu_conf[$vo_menu]['title']}" onclick="if(confirm('{$menu_conf[$vo_menu]['tj_ts']}')){window.open('ajax_control.html?action=tj_kjcx_contents&form[menu_id]={$vo_menu}&form[task_id]={$vo['id']}','_self')}" >
												<elseif  condition="$menu_conf[$vo_menu]['control_type'] eq 'fc'" />
												<a title="{$menu_conf[$vo_menu]['title']}" onclick="open_fc('{$menu_conf[$vo_menu]['js_fun_param']}',{$menu_conf[$vo_menu]['id']},{$vo['id']})" class="thickbox" href="#TB_inline?height=300&width=550&inlineId=myOnPageContent" >
												<elseif  condition="$menu_conf[$vo_menu]['control_type'] eq 'link'" />
												<assign name="js_fun" value="$menu_conf[$vo_menu]['js_fun']" />
												<a href="{:U('Task/step1',array("$js_fun/id"=>$vo['id']))}" target="_self">
												<elseif  condition="$menu_conf[$vo_menu]['control_type'] eq 'link_blank'" />
												<assign name="js_fun" value="$menu_conf[$vo_menu]['js_fun']" />
												<a href="{:U('Task/setp1',array("$js_fun/id"=>$vo['id']))}" target="_blank">
												<else />
												<a href="#">
												</if>
												{$menu_conf[$vo_menu]['title']}
												</a>
												
												</span>
											</foreach>
										</div>
									</div>
								</div>
                            </td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <include file="Public/base_fc" />
</block>
<block name="script">
<script type="text/javascript">
$('.more-wrapper').hover(
 function () {
    $(this).find(".action-list").show();
  },
  function () {
	$(this).find(".action-list").hide();
  }
);
</script>
</block>